package com.openNetty.common.bean;

/**
 * @author zhenggm
 * @create 2017-11-15 下午 4:43
 **/

/**
 * HTTP确认帧
 */
public class HttpAck {

    private String status; // 状态
    private int count; // 文件分片区域
    private int postition; // 分片内开始位置
    private int fileSize; // 已接收文件大小

    private String fileName;
    private String CRC;
    private String key;
    private String pass; // 秘钥值

    private boolean first;// 是否是断点续传文件

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getPostition() {
        return postition;
    }

    public void setPostition(int postition) {
        this.postition = postition;
    }

    public int getFileSize() {
        return fileSize;
    }

    public void setFileSize(int fileSize) {
        this.fileSize = fileSize;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getCRC() {
        return CRC;
    }

    public void setCRC(String CRC) {
        this.CRC = CRC;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public boolean isFirst() {
        return first;
    }

    public void setFirst(boolean first) {
        this.first = first;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }
}
